:root {
  --primary-color: #4361ee;
  --danger-color: #ef476f;
  --success-color: #06d6a0;
  --warning-color: #ffd166;
  --info-color: #118ab2;
  --gray-color: #6c757d;
  --light-bg: #f8f9fa;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --sidebar-width: 250px;
}

body {
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f6fa;
  overflow-x: hidden;
}

// 卡片样式统一
.card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: #fff;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
}

.card-body {
  padding: 1.25rem;
}

// 响应式调整
@media (max-width: 992px) {
  :root {
    --sidebar-width: 70px;
  }

  .content {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 1rem 0.75rem;
  }

  .card-header {
    padding: 0.75rem 1rem;
  }

  .card-body {
    padding: 1rem;
  }
}
